
#ifndef GAMEWIDGET_H
#define GAMEWIDGET_H


#include <QWidget>
#include<QBrush>
#include<QIcon>
#include<QPushButton>


#include"easyview.h"
#include"hardview.h"


class gamewidget : public QWidget
{
    Q_OBJECT

public:
    explicit gamewidget(QWidget *parent = nullptr);



    //四个键的槽函数的声明
public slots:
    void clickeasy();
    void clickhard();
    void clickback();


private:
    //按键
    QWidget*parent;
    QPushButton *easy;
    QPushButton *hard;
    QPushButton *back; 
    Easyview *easyview;
    Hardview *hardview;


signals:

};

#endif // GAMEWIDGET_H
